package stuManagement.biz.impl;

import java.util.List;

import stuManagement.biz.StudentBiz;
import stuManagement.dao.StudentDao;
import stuManagement.entity.Student;

public class StudentBizImpl implements StudentBiz {
	private StudentDao studentDao;
	public void setStudentDao(StudentDao studentDao) {
		this.studentDao = studentDao;
	}

	@Override
	public List<Student> getAll() {
		return studentDao.getAll();
	}

	@Override
	public void add(Student student) {
		studentDao.add(student);
	}

}
